<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <style>
        td {
            text-align: center;
            vertical-align: middle;
        }
        table {
            background-image:url('表格背景.png');
            background-size: cover;
            background-repeat: no-repeat;
          
        }
    </style>
</head>
<body>
    <table border="1" cellspacing="0">
<caption>成绩表</caption>
<th>姓名</th>
<th>语文</th>
<th>数学</th>
<th>总分</th>
<tr>
    <td>李小璐</td>
    <td>100</td>
    <td>100</td>
    <td>200</td>
</tr>
<tr>
    <td>安可可</td>
    <td>90</td>
    <td>100</td>
    <td>190</td>
</tr>
    </table>
    <table border="1" cellspacing="0" width="250" height="200">
        <caption>跨行跨列表</caption><br>
        <tr>
              <td rowspan="2">1占两行</td>
              <td colspan="2">2占两列</td>
              <td rowspan="3" colspan="2">4占三行两列</td>
        </tr>
        <tr>
            <td>2</td>
            <td>3</td>
        </tr>
            <td rowspan="2">1占两行</td>
            <td>2</td>
            <td>3</td>
        <tr>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td colspan="3">1占3列</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td colspan="5">1</td>
        </tr>
       
    </table>
    <table border="1" cellspacing="0">
        <caption>复杂完整的表</caption><br>
<thead>
    <tr>
        <th rowspan="2">姓名</th>
        <th colspan="2">通识课</th>
        <th colspan="3">专业课</th>
        <th rowspan="2">总分</th>
    </tr>
    <tr>
        <th>英语</th>
        <th>高数</th>
        <th>UI设计</th>
        <th>网页设计</th>
        <th>程序设计</th>
    </tr>
</thead>
<tbody>
<tr>
    <th>张三</th>
    <td>60</td>
    <td>70</td>
    <td>80</td>
    <td>90</td>
    <td>80</td>
    <td>980</td>
</tr>
<tr>
    <th>张三</th>
    <td>60</td>
    <td>70</td>
    <td>80</td>
    <td>90</td>
    <td>80</td>
    <td>380</td>
</tr>
<tr>
    <th>张三</th>
    <td>60</td>
    <td>70</td>
    <td>80</td>
    <td>90</td>
    <td>80</td>
    <td>380</td>
</tr>
<tr>
    <th>张三</th>
    <td>60</td>
    <td>70</td>
    <td>80</td>
    <td>90</td>
    <td>80</td>
    <td>380</td>
</tr>
<tr>
    <th>平均</th>
    <td>60</td>
    <td>70</td>
    <td>80</td>
    <td>90</td>
    <td>80</td>
    <td>380</td>
</tr>
</tbody>
    </table>
</body>
</html>